package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.SysInvoice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 发票
 *
 * @author
 * @email
 * @date 2021-03-05 07:24:19
 */
@Mapper
public interface SysInvoiceDao {

    int save(SysInvoice sysInvoice);

    int update(SysInvoice sysInvoice);

    int delete(String id);

    //删除没有流程号的发票
    int clearNoProcessCode(String createTime);

    SysInvoice findById(String id);

    List<SysInvoice> findAll(Map<String, Object> params);

}
